﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace CKEditor.Models
{
    public class Urun
    {

        public int Id { get; set; }
        public string Name { get; set; }
        public decimal Fiyat { get; set; }
        public string Image { get; set; }
        public string Detail { get; set; }
        public string Subject { get; set; }
        public IEnumerable<SelectListItem> SubjectValues
        {
            get
            {
                return new[]
                {
                new SelectListItem { Value = "General Inquiry", Text = "General Inquiry" },
                new SelectListItem { Value = "Full Wedding Package", Text = "Full Wedding Package" },
                new SelectListItem { Value = "Day of Wedding", Text = "Day of Wedding" },
                new SelectListItem { Value = "Hourly Consultation", Text = "Hourly Consultation" }
            };
            }
        }



        public Urun()
        {
            VendorAssistances = new[]
            {
            new VendorAssistanceViewModel { Name = "DJ/BAND" },
            new VendorAssistanceViewModel { Name = "Officiant" },
            new VendorAssistanceViewModel { Name = "Florist" },
            new VendorAssistanceViewModel { Name = "Photographer" },
            new VendorAssistanceViewModel { Name = "Videographer" },
            new VendorAssistanceViewModel { Name = "Transportation" },
        }.ToList();
        }
        public IList<VendorAssistanceViewModel> VendorAssistances { get; set; }
    }
    public class VendorAssistanceViewModel
    {
        public string Name { get; set; }
        public bool Checked { get; set; }
    }
}